package com.lx.oms.controller.manager;

import java.math.BigInteger;
import java.util.List;

import com.lx.oms.common.entity.Page;
import com.lx.oms.common.entity.Query;
import com.lx.oms.controller.entity.FactoryEntity;

/**
 * 厂名
 *
 * @author houzhong
 * @date 2018年10月24日 下午1:26:13
 */
public interface FactoryManager {

	List<FactoryEntity> listFactory(Page<FactoryEntity> page, Query search);
	
	int saveFactory(FactoryEntity tFactory);
	
	FactoryEntity getFactoryById(BigInteger id);
	
	int updateFactory(FactoryEntity tFactory);
	
	int batchRemove(String[] id);
	
	FactoryEntity getFactoryByName(String name);
	
	List<FactoryEntity> listByFactory(Query query);
	
}
